#include"string.h"
#include<iostream>
#include<iomanip>
#include<string>
using namespace std;
using namespace bit;
void stringtest1() {
	std::string s1("hello world");
	cout << s1 << endl;
	bit::string s2("hello world");
	bit::string s3("hello world");
	cout << s2 << endl;
	s2 += " hello bit";
	cout << s2 << endl;
	s2 = s3;
	cout << s2 << endl;
	s2.resize(20, '5');
	cout << s2 << endl;
	cout << (s2 < s3) << endl;
	cout << s2.find("llo") << endl;
}
int main() {
	stringtest1();
	
	return 0;
}